/* 
 * Copyright 2014-2021 UME Framework, GNU General Public License 
 */
package com.u2framework.lib.tool.gen.entity.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * FieldDescBean
 *
 * @author SultansOfSwing & MaYue
 */
public class FieldDescBean extends BaseFieldBean {
    /**
     * column not null flag (use by DDL)
     */
    private String colNotNullDDL;
    /**
     * column default value (use by DDL)
     */
    private String colDefaultValueDDL;
    /**
     * column default value (use by Java)
     */
    private String colDefaultValueJava;
    /**
     * column precision
     */
    private Integer colPrecision;
    /**
     * column scale
     */
    private Integer colScale;
    /**
     * column min size
     */
    private Integer colMinLength;
    /**
     * column max size
     */
    private Integer colMaxLength;
    /**
     * column database type
     */
    private String colDbType;
    /**
     * java field id
     */
    private String fieldId;
    /**
     * java setter
     */
    private String fieldSetter;
    /**
     * java getter
     */
    private String fieldGetter;
    /**
     * java field name
     */
    private String fieldName;
    /**
     * java field type
     */
    private String fieldType;
    /**
     * java field JDBC type
     */
    private String fieldJdbcType;
    /**
     * java annotation string container
     */
    private List<String> fieldAnnotationList = new ArrayList<String>();

    /**
     * @return the fieldId
     */
    public String getFieldId() {
        return fieldId;
    }

    /**
     * @param fieldId the fieldId to set
     */
    public void setFieldId(String fieldId) {
        this.fieldId = fieldId;
    }
    /**
     * @return the fieldName
     */
    public String getFieldName() {
        return fieldName;
    }

    /**
     * @param fieldName the fieldName to set
     */
    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    /**
     * @return the fieldType
     */
    public String getFieldType() {
        return fieldType;
    }

    /**
     * @param fieldType the fieldType to set
     */
    public void setFieldType(String fieldType) {
        this.fieldType = fieldType;
    }

    /**
     * @return the fieldAnnotationList
     */
    public List<String> getFieldAnnotationList() {
        return fieldAnnotationList;
    }

    /**
     * @param fieldAnnotationList the fieldAnnotationList to set
     */
    public void setFieldAnnotationList(List<String> fieldAnnotationList) {
        this.fieldAnnotationList = fieldAnnotationList;
    }

    /**
     * @return the fieldJdbcType
     */
    public String getFieldJdbcType() {
        return fieldJdbcType;
    }

    /**
     * @param fieldJdbcType the fieldJdbcType to set
     */
    public void setFieldJdbcType(String fieldJdbcType) {
        this.fieldJdbcType = fieldJdbcType;
    }

    /**
     * @return the colDbType
     */
    public String getColDbType() {
        return colDbType;
    }

    /**
     * @param colDbType the colDbType to set
     */
    public void setColDbType(String colDbType) {
        this.colDbType = colDbType;
    }

    /**
     * @return the colDefaultValueDDL
     */
    public String getColDefaultValueDDL() {
        return colDefaultValueDDL;
    }

    /**
     * @param colDefaultValueDDL the colDefaultValueDDL to set
     */
    public void setColDefaultValueDDL(String colDefaultValueDDL) {
        this.colDefaultValueDDL = colDefaultValueDDL;
    }

    /**
     * @return the colNotNullDDL
     */
    public String getColNotNullDDL() {
        return colNotNullDDL;
    }

    /**
     * @param colNotNullDDL the colNotNullDDL to set
     */
    public void setColNotNullDDL(String colNotNullDDL) {
        this.colNotNullDDL = colNotNullDDL;
    }
    /**
     * @return the colMinLength
     */
    public Integer getColMinLength() {
        return colMinLength;
    }

    /**
     * @param colMinLength the colMinLength to set
     */
    public void setColMinLength(Integer colMinLength) {
        this.colMinLength = colMinLength;
    }

    /**
     * @return the colMaxLength
     */
    public Integer getColMaxLength() {
        return colMaxLength;
    }

    /**
     * @param colMaxLength the colMaxLength to set
     */
    public void setColMaxLength(Integer colMaxLength) {
        this.colMaxLength = colMaxLength;
    }
    /**
     * @return the colPrecision
     */
    public Integer getColPrecision() {
        return colPrecision;
    }

    /**
     * @param colPrecision the colPrecision to set
     */
    public void setColPrecision(Integer colPrecision) {
        this.colPrecision = colPrecision;
    }

    /**
     * @return the colScale
     */
    public Integer getColScale() {
        return colScale;
    }

    /**
     * @param colScale the colScale to set
     */
    public void setColScale(Integer colScale) {
        this.colScale = colScale;
    }

    /**
     * @return the fieldSetter
     */
    public String getFieldSetter() {
        return fieldSetter;
    }

    /**
     * @param fieldSetter the fieldSetter to set
     */
    public void setFieldSetter(String fieldSetter) {
        this.fieldSetter = fieldSetter;
    }

    /**
     * @return the fieldGetter
     */
    public String getFieldGetter() {
        return fieldGetter;
    }

    /**
     * @param fieldGetter the fieldGetter to set
     */
    public void setFieldGetter(String fieldGetter) {
        this.fieldGetter = fieldGetter;
    }

    /**
     * @return the colDefaultValueJava
     */
    public String getColDefaultValueJava() {
        return colDefaultValueJava;
    }

    /**
     * @param colDefaultValueJava the colDefaultValueJava to set
     */
    public void setColDefaultValueJava(String colDefaultValueJava) {
        this.colDefaultValueJava = colDefaultValueJava;
    }



}
